package org.jeecg.modules.openai.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.openai.entity.AiImgCreateRecord;
import org.jeecg.modules.openai.mapper.AiImgCreateRecordMapper;
import org.jeecg.modules.openai.service.IAiImgCreateRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 图片生成记录表
 * @Author: jeecg-boot
 * @Date:   2023-02-22
 * @Version: V1.0
 */
@Service
public class AiImgCreateRecordServiceImpl extends ServiceImpl<AiImgCreateRecordMapper, AiImgCreateRecord> implements IAiImgCreateRecordService {

    @Autowired
    private AiImgCreateRecordMapper createRecordMapper;
    @Override
    public IPage<AiImgCreateRecord> plazaList(IPage page, String userId) {
        return createRecordMapper.plazaList(page,userId);
    }
}
